package wangjg.android.media.h264;

public class Encoder {
	
	public native int init(int width, int height);

	public native int encode(int type, byte[] in, int insize, byte[] out);

	public native int release();

	static {
		System.loadLibrary("H264Encoder");
	}
}
